<?php
        $baseurl = current(split("index", $_SERVER['PHP_SELF']));
        echo "<p class='banner' align='right' onmousedown='tekan(event);' onmousemove='gerak(event);' onmouseup='lepas();' onmouseout='lepas();'> <a href='Javascript:close_slip()'> <img src='".$baseurl."/img/no4.gif' alt='[ X ]'> </a></p>";
            echo "<form id='edit_jobseekers'>";
            echo "<table>";
                echo "<tr><td colspan=2> Account Detail </td></tr>";
                echo "<input type='hidden' name='data[Jobseeker][id]' value='".$this->data['Jobseeker']['id']."'>";
                echo "<tr><td>ID  </td><td>: ".$this->data['Jobseeker']['id']."</td></tr>";
                echo "<tr><td>Nama user  </td><td>: <input type='text' name='data[Jobseeker][username]' value='".$this->data['Jobseeker']['username']."'></td></tr>";
                echo "<tr><td>Password  </td><td>: <input type='text' name='data[Jobseeker][password]' value='".$this->data['Jobseeker']['password']."'></td></tr>";
                echo "<tr><td>Status  </td><td>: <input type='text' name='data[Jobseeker][status]' value='".$this->data['Jobseeker']['status']."'></td></tr>";
                echo "<tr><td>Email  </td><td>: <input type='text' name='data[Jobseeker][email]' value='".$this->data['Jobseeker']['email']."'></td></tr>";
                echo "<tr><td colspan=2> Personal Detail </td></tr>";
                echo "<tr><td>Sapaan  </td><td>: <input type='text' name='data[Jobseeker][salution]' value='".$this->data['Jobseeker']['salution']."'></td></tr>";
                echo "<tr><td>Nama Awal  </td><td>: <input type='text' name='data[Jobseeker][first_name]' value='".$this->data['Jobseeker']['first_name']."'></td></tr>";
                echo "<tr><td>Nama akhir  </td><td>: <input type='text' name='data[Jobseeker][last_name]' value='".$this->data['Jobseeker']['last_name']."'></td></tr>";
                echo "<tr><td>Jenis Kelamin </td><td>: <input type='text' name='data[Jobseeker][gender]' value='".$this->data['Jobseeker']['gender']."'></td></tr>";
                echo "<tr><td>Tanggal lahir  </td><td>: <input type='text' name='data[Jobseeker][date_of_birth]' value='".$this->data['Jobseeker']['date_of_birth']."'></td></tr>";
/*
                echo "<tr><td>Kota  </td><td>: <input type='text' name='data[Jobseeker][city_id]' value='".$this->data['Jobseeker']['city_id']."'></td></tr>";
                echo "<tr><td>Alamat  </td><td>: <input type='text' name='data[Jobseeker][address]' value='".$this->data['Jobseeker']['address']."'></td></tr>";
                echo "<tr><td>Kode Post  </td><td>: <input type='text' name='data[Jobseeker][postal_code]' value='".$this->data['Jobseeker']['postal_code']."'></td></tr>";
                echo "<tr><td>Agama  </td><td>: <input type='text' name='data[Jobseeker][religion_id]' value='".$this->data['Jobseeker']['religion_id']."'></td></tr>";
*/
                echo "<tr><td></td><td>&nbsp&nbsp&nbsp";
                echo $ajax->submit('Save', array('div' => false, 'class' => 'submitbutton', 
                                    'url' => array('controller'=> 'jobseekers','action' => 'edit_admin'), 
                                    'update' => 'result')
                                    );
                echo " <input type='button' onClick='close_slip();' value='Cancel'></td></tr>";
            echo "</table>";
            echo "</form>";
?>